<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      py:strip="">

<xi:include href="utils.html"><xi:fallback/></xi:include>

<head py:match="head" py:attrs="select('@*')">
  <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
  <title py:replace="''">Your title goes here</title>

  <link py:for="css in theme.filter_widgets(tg_css)" py:replace="tg.ET(css.display())" />
  <link py:for="js in theme.filter_widgets(tg_js_head)" py:replace="tg.ET(js.display())" />

  <meta py:replace="select('*')"/>

<style type="text/css" media="all">
</style>

</head>

<body py:match="body" py:attrs="select('@*')">

    <div py:for="js in tg_js_bodytop" py:replace="tg.ET(js.display())" />

    <div id="nav">
        <py:choose>
            <py:when test="defined('frontpage')"><h1><a href="${tg.url_for('frontpage')}">${blog.name}</a></h1></py:when>
            <py:otherwise><h2><a href="${tg.url_for('frontpage')}">${blog.name}</a></h2></py:otherwise>
        </py:choose>
        <ul>
          <li py:for="name, url in theme.nav"><a href="${url}">${name}</a></li>
        </ul>
        <span class="endnav">&nbsp;</span>
    </div>

    <div class="container_16" style="margin-left: 10px;">
        <div class="grid_11" id="main">

            <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>

            <div py:replace="select('*|text()')"/>

        </div>
        <div class="clear">&nbsp;</div>

    </div>
    <!-- end .container_16 -->

  <div py:for="js in theme.filter_widgets(tg_js_bodybottom)" py:replace="tg.ET(js.display())" />
</body>

</html>
